package com.moyu.article.service;

import com.moyu.article.domain.board.dto.*;
import com.moyu.article.domain.board.vo.BoardHotVO;
import com.moyu.article.domain.board.vo.BoardVO;
import com.moyu.article.domain.post.vo.BoardOptionVO;
import com.moyu.article.domain.post.vo.PostListVO;

import java.util.List;

/**
 * @Author 赵彦博
 * @Date 2025/3/29 19:04
 */
public interface IBoardService {
    List<BoardVO> getBoardList(BoardQueryDTO boardQueryDTO);

    int addBoard(BoardAddDTO boardAddDTO);

    int updateBoardService(BoardUpdateDTO boardUpdateDTO);

    int batchUpdateSort(List<BatchSortUpdateDTO> updateList);

    int deleteBoard(Long boardId);

    List<BoardOptionVO> getBoardOptions();

    List<BoardVO> getAllBoard(BoardAllQueryDTO dto);

    List<BoardHotVO> getHotBoard();

    List<PostListVO> listByBoardId(BoardDTO dto);

    BoardVO detailByBoardId(String boardId);
}
